import { baseUrlConfig } from '@/config/config'
import request from '@/utils/request'

const bastPath = baseUrlConfig.processBaseUrl

// 物品领取记录
export const goodsReceive = (data: ListParams) => {
  return request({
    url: bastPath + '/lose/goodsReceive/find/page',
    method: 'post',
    data
  })
}

// 导出物品领取记录
export const exportGoods = (data: FilterDataType) => {
  return request({
    url: bastPath + '/lose/goodsReceive/export',
    method: 'post',
    responseType: 'blob',
    data
  })
}
